package com.ssy.lingxi.sms.api.model;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 短信服务器配置类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/10
 */
@Data
public class SmsConfigVO implements Serializable {

    private static final long serialVersionUID = -1138905877560406711L;
    /**
     * 服务商类型: 1-腾讯云，2-阿里云
     */
    @NotEmpty(message = "服务商类型")
    private Integer serviceType;

    /**
     * 参数代码
     */
    @NotEmpty(message = "参数代码不能为空")
    private String code;

    /**
     * 参数值
     */
    @NotEmpty(message = "参数值不能为空")
    private String value;

    /**
     * 参数描述
     */
    private String remark;

}
